package com.luom.springbootinit.model.dto.category;

import com.luom.springbootinit.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 查询图书分类请求
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CategoryQueryRequest extends PageRequest implements Serializable {

    /**
     * 类型ID
     */
    private Integer id;

    /**
     * 类型名称
     */
    private String name;

    private static final long serialVersionUID = 1L;
}